/****************************************************
	文件：Consts.cs
	作者：HuskyT
	邮箱：1005240602@qq.com
	日期：2020/7/11 16:44:16
	功能：常量
*****************************************************/

using System;
using System.IO;
using UnityEngine;

namespace HTSpider
{
    public class Consts
    {
        public static class EncodingType
        {
            /// <summary>
            /// 含中文 Unicode (UTF-8)
            /// </summary>
            public const string UTF8 = "utf-8";
            /// <summary>
            /// 简体中文
            /// </summary>
            public const string GB2312 = "gb2312";
        }

        /// <summary>
        /// 打印备忘录 单个文件的存储阈值
        /// </summary>
        public const int LOGMEMENTO_SAVE_THRESHOLD = 100;
        /// <summary>
        /// 打印日志的存储路径
        /// </summary>
        public static string LOGMEMENTO_SAVE_PATH = Path.Combine(Application.dataPath, "Log");

        /// <summary>
        /// 线程池最大容量
        /// </summary>
        public const int THREAD_MAX_COUNT = 20;
    }
}
